package com.lzx.article.service;

import com.lzx.article.entity.CommentsGiveALike;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lzx.common.utils.R;

/**
 * <p>
 * 评论点赞表 服务类
 * </p>
 *
 * @author lzx
 * @since 2023-02-01
 */
public interface CommentsGiveALikeService extends IService<CommentsGiveALike> {

    //评论点赞
    R giveALikeToComments(CommentsGiveALike commentsGiveALike);

    //根据文章id和用户id查询用户点赞信息
    R selectCommentsGiveALive(Long articleId, Long userId);
}
